<template>
	<view class="ipt">
		<input type="text" value="" placeholder="搜索" @tap="to_serach" />
	</view>
</template>

<script>
	export default {
		name: "uni-search",
		data() {
			return {

			};
		},
		methods: {
			to_serach() {
				wx.navigateTo({
					url: '/pages/search/search'
				})
			}
		}
	}
</script>

<style lang="scss">
	.ipt {
		width: 750rpx;
		height: 100rpx;
		display: flex;
		justify-content: center;
		padding-top: 20rpx;
		background-color: #eb4450;

		input {
			width: 650rpx;
			height: 50rpx;
			border: 1px solid #b7b9bd;
			border-radius: 20rpx;
			text-align: center;
			background-color: #EEEEEE;
		}
	}
</style>
